//class1.h
#include <iostream>
using namespace std;

class Base
{
private:
	int m_Bnum;
public:
	Base() {};
	Base(int i):m_Bnum(i) {};
	int GetNumber() {return m_Bnum;}
	void Print() {cout<<m_Bnum<<endl;}
};

class Derived:public Base
{
private:
	int m_Dnum;
public:
	Derived(int i, int j):Base(i),m_Dnum(j) {};
	void Print()
	{
		cout<<GetNumber()<<"  ";
		cout<<m_Dnum<<endl;
	}
};